﻿Imports System.Data
Imports System.Data.Common

''' <summary>
''' 创建表接口
''' </summary>
''' <remarks></remarks>
Public Interface ITable

    ''' <summary>
    ''' 删除表
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function DeleteTable(ByVal dbConnection As DbConnection, ByVal 前缀 As String) As Boolean

    ''' <summary>
    ''' 创建表
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function CreateTable(ByVal dbConnection As DbConnection, ByVal 前缀 As String) As Boolean

    ''' <summary>
    ''' 更新表
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function UpdateTable(ByVal dbConnection As DbConnection, ByVal 前缀 As String) As Boolean

    Event DeleteTableEvent(ByVal table As String)
    Event UpdateTableEvent(ByVal table As String)
    Event CreateTableEvent(ByVal table As String)

End Interface
